package com.hmyuan.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.PageInfo;
import com.hmyuan.domain.Article;

public interface ArticleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Article record);

    int insertSelective(Article record);

    Article selectByPrimaryKey(Long id);
    
    Article selectByWithCollectionPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Article record);

    int updateByPrimaryKeyWithBLOBs(Article record);

    int updateByPrimaryKey(Article record);

	List<Article> selectList(Article article);
	
	List<Article> selectListWithCollection(Article article);

	Long selectListWithCollectionCout(Article article);

	List<Article> selectByPassword(String password);
}